package com.gmsk.pocket.service;

import com.gmsk.pocket.entity.Doc;
import com.gmsk.pocket.service.impl.DocServiceImpl;

import java.util.List;
import java.util.Map;


public interface DocService {

    int insert(Doc doc);

    int update(Doc doc);

    int delete(Integer id);

    Doc select(Integer id);

    List<Doc> selectByType(Integer typeId, Integer start, Integer limit);

    Integer selectCount(Integer typeId);

  //  DocServiceImpl.Result searchDoc(Map<String, Object> params, int page, int size);
}
